package com.ruoyi.project.digital.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @作者 孙山伟
 * @日期 2023/12/22
 */
@Data
public class LoginDto {


    @ApiModelProperty(value = "密码", required = true)
    @NotNull(message = "密码不能为空")
    @NotEmpty(message = "密码不能为空")
    String password;




    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "账号不能为空")
    @NotEmpty(message = "账号不能为空")
    String phone;


}
